package com.platform.modules.wallet.dao;

import com.platform.common.web.dao.BaseDao;
import com.platform.modules.chat.domain.ChatApply;
import com.platform.modules.wallet.domain.WalletRedPacket;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WalletRedPacketDao extends BaseDao<WalletRedPacket> {


    /**
     * 查询列表
     *
     * @return
     */
    List<WalletRedPacket> queryList(WalletRedPacket walletRedPacket);

    Integer queryTodayNotUserIdByGroup(Long groupId, List<Long> userIds, String today);
    Integer queryTodayByGroupIdAndUserId(Long groupId, Long userId, String today);
    Integer clearRecord(String beforeToday);
}
